package com.dongjiantong.user.model;

import java.util.Date;

public class RoleModuleRights {
    private Long id;

    private Long regionAccountId;

    private Long moduleId;

    private Long roleId;

    private Integer isRight;

    private Date createdAt;

    private Date updatedAt;

    public RoleModuleRights(Long id, Long regionAccountId, Long moduleId, Long roleId, Integer isRight, Date createdAt, Date updatedAt) {
        this.id = id;
        this.regionAccountId = regionAccountId;
        this.moduleId = moduleId;
        this.roleId = roleId;
        this.isRight = isRight;
        this.createdAt = createdAt;
        this.updatedAt = updatedAt;
    }

    public RoleModuleRights() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getRegionAccountId() {
        return regionAccountId;
    }

    public void setRegionAccountId(Long regionAccountId) {
        this.regionAccountId = regionAccountId;
    }

    public Long getModuleId() {
        return moduleId;
    }

    public void setModuleId(Long moduleId) {
        this.moduleId = moduleId;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public Integer getIsRight() {
        return isRight;
    }

    public void setIsRight(Integer isRight) {
        this.isRight = isRight;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }
}